package com.niubi.yygh.hosp.service;

import com.niubi.yygh.model.hosp.Department;
import com.niubi.yygh.vo.hosp.DepartmentVo;
import org.springframework.data.domain.Page;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface DepartmentService {
  void saveDept(Map<String, Object> map);

  Page<Department> selectPage(int page, int limit);

  void removeDept(String hoscode, String depcode);

  List<DepartmentVo> findDeptTree(String hoscode);

  Department getDeptName(String hoscode, String depcode);
}
